<?php
/**
 * This file is part of the UXLabs project.
 *
 * (c) UXLabs project <http://code.uxlabs.me>
 *
 */

namespace uxl\app\api;

use yii\base\Module as BaseModule;

/**
 * yii2版app接口处理基础模块
 *
 * @property array $modelMap
 *
 * @package uxl\app\api
 *
 * @author ice.deng <ice.deng@qq.com>
 */
class Module extends BaseModule
{
    const VERSION = '0.0.1';
    /**
     * @var array Model map
     */
    public $modelMap = [];
    /**
     * @var int 访问密钥的有效期，单位：秒
     */
    public $accessKeyExpiresIn = -1;
    /**
     * @var string 默认控制器名字空间
     */
    public $controllerNamespace = 'uxl\app\api\controllers';
    /**
     * @var string 接口方法配置文件
     */
    public $methodConfig = null;

    public function init()
    {
        parent::init();
    }
}